#ifndef _COVERABLE_BLOB
#define _COVERABLE_BLOB

#include "ofMain.h"
#include "ofCvMain.h"
#include "videoTexture.h"
#include "videoBlob.h"
#include "videoHandDetector.h"

class coverableBlob : public videoBlob {
	
	public:
	
		ofCvGrayscaleImage		meAsGray;
		ofCvGrayscaleImage		meAndedWithHand;
		void 					setup(int w, int h);
		void 					clear();
		void  					checkCoverage(videoHandDetector * vdh);
		float 					pctCovered;
		int 					nFramesCovered;
		int 					width; 
		int 					height;
		
		bool					bTriggered;
		float 					randomAngle;
		float 					targetx;
		float 					targety;
		float 					energy;
		bool 					bTraveling;
};

#endif	
